echo "__________________________________
     _    ____ _____ ____  
    / \  / ___|_   _/ ___| 
   / _ \| |     | | \___ \ 
  / ___ \ |___  | |  ___) |
 /_/   \_\____| |_| |____/ 
"                          
echo "---------------------------------- "
echo " \033[36m    配置菜单    \033[0m   "
echo "       [请输入数字[0㉿5]:          "
echo "[0] \033[32m 取消执行 \033[0m      "
echo "[1] \033[33m 安装软件包 \033[0m    "
echo "[2] \033[32m 删除指定软件包 \033[0m"
echo "[3] \033[32m 查看自启动文件 \033[0m"
echo "[4] \033[32m 删除菜单数据 \033[0m  "
echo "[5] \033[32m 设置/修改密码 \033[0m"
echo "[6] \033[33m 设置开机进度条时间 \033[0m "
echo "---------------------------------- "
read pz
case $pz in
 0)
  sh /data/data/com.termux/files/usr/.AT/ACTS.sh
 
 ;;
 
 1)
  read -p " 安装包名: " a
  apt install $a -y
 sh /data/data/com.termux/files/usr/.AT/pz.sh
 ;;
 
 2)
  read -p " 卸载包名: " b
  apt remove $b -y
 sh /data/data/com.termux/files/usr/.AT/pz.sh
  ;;
  
 3) 
   if [[ -f "/data/data/com.termux/files/usr/bin/bash" ]]; then

 nano /data/data/com.termux/files/home/.zbashrc

else

 nano /data/data/com.termux/files/home/.zshrc

fi
   ;;
   
  4)
   rm -rf /data/data/com.termux/files/usr/.AT/ACTSmm.txt
   rm -rf /data/data/com.termux/files/usr/.AT/sj.txt
   rm -rf /data/data/com.termux/files/usr/.AT
   ;;
   5)
   if [ -f "/data/data/com.termux/files/usr/.AT/.密码/ACTSmm.txt" ];then
    read -p "请输入想的修改密码: "  > /data/data/com.termux/files/usr/.AT/.密码/ACTSmm.txt
else
   read -p "设置入密码: "  > /data/data/com.termux/files/usr/.AT/.密码/ACTSmm.txt
   fi
   sh /data/data/com.termux/usr/.AT/ACTS.sh
   ;;
   6)
   echo "0.1[快] 小=快"
   echo "0.9[慢] 大=慢"
   read -p "设置开机进度条时间:" kjsj
   read -p "设置开机进度条次数" cs
   echo "$kjsj" > /data/data/com.termux/files/usr/.AT/密码/jb.txt
   echo "$cs"  > /data/data/com.termux/files/usr/.AT/密码/sj.txt
         ;;
 esac
